import {print} from "./util.js";
document.querySelector('.a').addEventListener('mouseenter',()=>{
    print("进来了");
})
document.querySelector('.a').addEventListener('mouseleave',()=>{
    print("出来了");
})
document.querySelectorAll('button')[0].addEventListener('click',()=>{
    print('好痛');
});
document.querySelectorAll('button')[1].addEventListener('click',()=>{
    print('好舒服');
});
for(let i=0;i<2;i++){
    document.querySelectorAll('button')[i].addEventListener('click',()=>{
    print('好痛');
});
}